import request from '../index';

/**
 * 认证服务API
 */
class HAuth {
  // 登录
  static login<T>(desc: string, data: T) {
    return request.get<T>('/auth/login', data)
  }

  // 登出
  static loginOut<T>() {
    return request.get<T>('/auth/loginOut')
  }
};

export { HAuth };